﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using ZhimeiSoft.CharmManager.DOL;

namespace ZhimeiSoft.CharmManager.Server.BLL.Interface
{
    public interface IServiceItemDetailBLL
    {
        /// <summary>
        /// 根据服务项目ID获取服务项目明细信息
        /// </summary>
        /// <param name="iServiceItemID"></param>
        /// <returns></returns>
        DataSet QueryServiceItemDetail(int iServiceItemID);

        /// <summary>
        /// 提交服务项目明细信息数据
        /// </summary>
        /// <param name="ds"></param>
        void SubmitServiceItmeDetail(DataSet ds);

        /// <summary>
        /// 根据服务项目ID删除服务项目明细信息
        /// </summary>
        /// <param name="iServiceItemID"></param>
        void DeleteServiceItemDetail(int iServiceItemID);

        /// <summary>
        /// 新增服务项目明细信息
        /// </summary>
        /// <param name="entity"></param>
        void InsertServiceItemDetail(DBEntityServiceItemDetail entity);

        /// <summary>
        /// 修改服务项目明细信息
        /// </summary>
        /// <param name="entity"></param>
        void UpdateServiceItemDetail(DBEntityServiceItemDetail entity);

        /// <summary>
        /// 根据明细信息ID删除服务项目明细信息
        /// </summary>
        /// <param name="detailID"></param>
        void DeleteServiceItemDetailByID(int detailID);
    }
}
